package com.zhaofujun.filequeue;


public class DataInfo {
    private byte[] data;
    private HeadInfo headInfo;
    private SegmentInfo segmentInfo;

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    public HeadInfo getHeadInfo() {
        return headInfo;
    }

    public void setHeadInfo(HeadInfo headInfo) {
        this.headInfo = headInfo;
    }

    public SegmentInfo getSegmentInfo() {
        return segmentInfo;
    }

    public void setSegmentInfo(SegmentInfo segmentInfo) {
        this.segmentInfo = segmentInfo;
    }

    @Override
    public String toString() {
        return "DataInfo{" +
                "headInfo=" + headInfo +
                ", segmentInfo=" + segmentInfo +
                '}';
    }
}
